import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 引入iconfont图标组件
import '@/styles/iconfont.css'
// 初始化样式
import '@/styles/base.less'
import filters from '@/filters'
import globalCom from '@/plugin'
for (const key in filters) {
  Vue.filter(key, filters[key])
}
Vue.use(globalCom)
Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
